package com.jzx.provider.cv.dto.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author daihuihui
 * @date 2019/2/7
 */
@Data
@Builder
public class CvResultForNoContact implements Serializable {

    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 候选人姓名
     */
    private String name;

    /**
     * 手机号码
     */
    private String tel;

    /**
     * 电子邮件
     */
    private String email;

    private String sex;

    private String headUrl;

    /**
     * 年龄
     */
    @Builder.Default
    private Integer age = 0;

    private String switchStatus;

    /**
     * 工作时长
     */
    private String workYear;

    /**
     * 最高学历
     */
    private String edu;

    private String location;

    private String vocation;

    private String com;

    private String title;

    private String salary;

    private String forwardVocations;

    private String forwardTitles;

    private String forwardCities;

    private String forwardSalary;

    private String maritalStatus;

    /**
     * 国籍
     */
    private String nationality;

    /**
     * 户籍
     */
    private String censusRegister;

    /**
     * 政治面貌
     */
    private String political;

    /**
     * 教育信息
     */
    @Builder.Default
    private List<EducationInfoResultForNoContact> edus = new ArrayList<EducationInfoResultForNoContact>();

    /**
     * 工作信息
     */
    @Builder.Default
    private List<WorkInfoResultForNoContact> works = new ArrayList<>();

    /**
     * 项目信息
     */
    @Builder.Default
    private List<ProjectInfoResult> projects = new ArrayList<>();

    /**
     * 技能证书
     */
    @Builder.Default
    private List<CerInfoResult> certificates = new ArrayList<>();

    /**
     * 个人简介
     */
    private String personal;

    /**
     * 附加信息
     */
    private String additional;

    /**
     * 专业技能
     */
    private String professional;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date updateTime;

}
